package com.cskaoyan.javase.controlflow.selective3.switchs;

/**
 * @description: 季节
 * @author: wuguidong@cskaoyan.onaliyun.com
 **/

public class Demo3 {
    public static void main(String[] args) {
        //switch语句当中的每个分支都是完全独立
        int month = -1;
        switch (month){
            default:
                System.out.println("你输入的月份有误！");
            case 12:
            case 1:
            case 2:
                System.out.println("冬季");
                break;

        }
    }
}
